/**
  ******************************************************************************
  * File Name          : route_templete_interface.h
  * Description        : Code for data process applications
  ******************************************************************************
  * @attention
  *
  ******************************************************************************
  */

#ifndef __templete_interface_H
#define __templete_interface_H

#include <stdint.h>

typedef enum
{
  ROUTE_PLTYP_TEMPLETE_DWCYCLE    = 0xA0u,
  ROUTE_PLTYP_TEMPLETE_DWSYNC     = 0xA2u,
  ROUTE_PLTYP_TEMPLETE_SETFEEDMD  = 0xA4u,  /* 数据同步 */
	ROUTE_PLTYP_TEMPLETE_SETAUTOFD  = 0xA6u,  /* 控制指令 自动运行开关 */
  ROUTE_PLTYP_TEMPLETE_SETFORCEFD = 0xA8u,  /* 控制指令 运行模式选择 */
  ROUTE_PLTYP_TEMPLETE_SETCLEARPA = 0xAAu,  /* 控制指令 运行模式选择 */
  ROUTE_PLTYP_TEMPLETE_SETPARA    = 0xACu,  /* 控制指令 喂水选择 */
	ROUTE_PLTYP_TEMPLETE_UPDTLV0    = 0xAEu,  /* 确认回复 无数据 */
  ROUTE_PLTYP_TEMPLETE_UPDTLV1    = 0xBFu,  /* 主机周期查询及回复 */
}Route_PlType_TEMPLETE_Type;

typedef struct
{
  uint8_t  para1;
  uint8_t  para2;
  uint8_t  para3;
  uint8_t  para4;
}Templete_ParaType;

typedef struct
{
  uint8_t hour;
	uint8_t minute;
	uint8_t second;
  Templete_ParaType para;
}Templete_SetParaType;

/* 上传 */
typedef struct
{
  uint8_t hour;
	uint8_t minute;
	uint8_t second;
  Templete_ParaType para;
}Templete_UpDataLevel01Type;

#endif /* __templete_interface_H */
